import http from '../utils/http'

/**
 * 新增反馈
 * @param {*} feedback 
 */
export const addFeedback=(feedback)=>{
  return http.post(`/feedback/addFeedback`,feedback, {
    headers: {
      'Content-Type': 'application/json'
    }
  })
}

export const getFeedback=()=>{
  return http.get(`/feedback/getFeedback`)
}